package com.ali.springcloud.service.imp;

import com.ali.springcloud.service.PaymentHystirxService;
import org.springframework.stereotype.Component;

/**
 * @author ：ALi
 * @date ：Created in 2022/7/4 17:34
 * @description：服务降级处理
 * @modified By：
 * @version: $
 */
@Component
public class PaymentFallbackService implements PaymentHystirxService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "---------PaymentFallbackService fallback---paymentInfo_OK";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "---------PaymentFallbackService fallback---paymentInfoTimeOut";
    }
}